package com.pktechan.api.service;

import com.pktechan.api.base.BaseService;
import com.pktechan.api.entity.WxMp;

public interface WxMpService extends BaseService<WxMp> {
    /**
     * 根据MP_ID查询微信配置信息
     *
     * @param mpId
     * @return
     */
    WxMp getByMpId(String mpId);

    /**
     * 获取公众号 accessToken
     * @param wxMp
     * @return
     */
    String getMpAccessToken(WxMp wxMp);
}
